<?php
/* 
 * 自定义异常
 * 
 */
class  FWException extends Exception {
    private $_code = 0;
    private $_msg = '';

    function  __construct($code) {
        $this->_code = $code;
        parent::__construct($this->_msg, $this->_code);
    }
}
?>